/*
 * @fileOverview 
 * @author Bo Liang
 */
if (typeof accedo === "undefined") {
	accedo = {};
}
//alert("kkkkkk");
//window.onload = accedo.achiShow.initTable(); 
//
//accedo.achiShow = {
//	initTable : function() {
//		var serverDataObj = accedo.Achievement.showAchi(); 
//		alert("kkkkkk"); 
//		alert(serverDataObj.achis[0].achi_sn); 
//	}
//};

window.onload = function initTable() {
	
	// Parse the URL parameters to get MemoryGame.Misc.username
	var args = new Object();
	args = accedo.memoryGame.util.GetUrlParms();
	var username = args["username"];
	accedo.Achievement.showAchi(username); 
};

document.onkeydown = function(e) {
	e = window.event || e;
		switch (e.keyCode) {
		case 13:
			window.close();
			break; 
		
		default:
			break;
		}
};